package xaj.puiatti.ast;

import java.util.List;

import polyglot.ast.Term;
import polyglot.lex.Identifier;
import polyglot.util.CodeWriter;
import polyglot.util.Position;
import polyglot.visit.CFGBuilder;
import polyglot.visit.PrettyPrinter;

public class First_c extends BlockRule_c implements First {
	
	private Identifier id1;

	public First_c(Position pos, Identifier id1) {
		super(pos);
		this.id1 = id1;
	}

	public Identifier getIdent1() {
        return id1;
	}
	public void prettyPrint(CodeWriter w, PrettyPrinter pp) {
        w.begin(0);
        w.write(" first( " + id1.getIdentifier() + " );");

	}

	@Override
	public List acceptCFG(CFGBuilder v, List succs) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Term entry() {
		// TODO Auto-generated method stub
		return null;
	}
}
